package com.jsh.common.api.response;

import lombok.Data;
import lombok.ToString;

/**
 * @Author JiangYaoFeng
 * 2021/4/21 15:25
 */
@Data
@ToString
public class QueryResponseResult extends ResponseResult {

    Object object;//为了适应不同queryResult
    private Integer total;
    public String status;
    public QueryResponseResult(ResultCode resultCode, Object queryResult) {
        super(resultCode);
        this.object = queryResult;
    }

    public QueryResponseResult() {
    }

    public QueryResponseResult(ResultCode resultCode) {
        super(resultCode);
    }

    public QueryResponseResult(boolean flag, Integer code, String message) {
        super(flag, code, message);
    }
}
